Repository navigation
CloudFormation troubleshooting lab: reset waits for the group's instances - #80
Merged
Merged
Conversation
…nces Reset force-deleted the Auto Scaling group and deleted the network stack at once; the instances were still shutting down, so the VPC and subnets failed to delete and the stack stayed in DELETE_FAILED while reset reported success. Wait for instances in the lab subnets to terminate first, and report an error if the network stack is still there after the delete. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
returnvalue
force-pushed
the
claude/cfn-troubleshooting-reset
branch
from
November 7, 2026 18:52
d5359d1 to
7c4c561
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Chris
What broke
After every run of
cloudformation/deployment-troubleshootingon Floci 2.4.0, thelab-deploy-networkstack stayed in DELETE_FAILED ("The vpc ... has dependencies") while reset reported "The share, AMIs, stacks, network interfaces, and deployer user are gone."check_labsstill passed, and the leftover stack later trippeddashboard.integration_tests.Cause: reset force-deletes the Auto Scaling group and then deletes the network stack straight away. Floci's instances are still
shutting-downat that moment, so the subnets and VPC can't go. A few seconds later they're terminated (a second reset cleaned it up).Fix
Checks
ruff check .clean.check_labs --service cloudformation --lab deployment-troubleshootingtwice on a throwaway Floci 2.4.0: passes, no stacks left,errors: [].🤖 Generated with Claude Code